
package andre.grids.db.dataclasses;

/**
 *
 * @author andre
 */
public class DbPeer {
    private String peerName;
    private boolean directoryMaster;
    private boolean directoryReplica;
    private boolean fileReplica;

    public boolean isDirectoryMaster() {
        return directoryMaster;
    }

    public void setDirectoryMaster(boolean directoryMaster) {
        this.directoryMaster = directoryMaster;
    }

    public boolean isDirectoryReplica() {
        return directoryReplica;
    }

    public void setDirectoryReplica(boolean directoryReplica) {
        this.directoryReplica = directoryReplica;
    }

    public boolean isFileReplica() {
        return fileReplica;
    }

    public void setFileReplica(boolean fileReplica) {
        this.fileReplica = fileReplica;
    }

    public String getPeerName() {
        return peerName;
    }

    public void setPeerName(String peerName) {
        this.peerName = peerName;
    }
}
